package com.dongdongshop.service;

import com.dongdongshop.pojo.TbSeckillGoods;
import com.dongdongshop.pojo.TbSeckillOrder;

import java.util.List;

public interface SeckillGoodsService {
    List<TbSeckillGoods> showSeckillList();

    TbSeckillGoods getSeckillGoodsById(Long id);

    void sumitOrder(Long seckillId, String username);

    TbSeckillOrder findOrderByUsername(String username);
}
